package cn.gotom.pinggu.pojos;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import cn.gotom.core.pojos.BaseEntity;

/**
 * 
 * 原料(物耗)种类
 * 
 * @author peixere@qq.com
 * 
 * @version 2012-12-03
 * 
 */
@Entity
@Table()
public class Whzl extends BaseEntity implements Serializable
{
	private static final long serialVersionUID = 1L;

	/**
	 * 代码
	 */
	@Column(nullable = false,unique = true, length = 50)
	private String name;
	
	/**
	 * 描述
	 */
	@Column(length = 500)
	private String description;
	
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getDescription()
	{
		return description;
	}
	public void setDescription(String description)
	{
		this.description = description;
	}	
}